package com.ruoyi.network.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.entity.BaseNewEntity;
import com.ruoyi.network.enums.BaseStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * IP段结构对象 ip_range
 *
 * @author lyp
 * @date 2024-12-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class IpRange extends BaseNewEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 网段类型
     */
    @Excel(name = "网段类型")
    private Integer type;

    /**
     * 网段名称
     */
    @Excel(name = "网段名称")
    private String rangeName;

    /**
     * 网段格式化名称
     */
    @Excel(name = "网段格式化名称")
    private String formatName;

    /**
     * 网段起始IP
     */
    @Excel(name = "网段起始IP")
    private Long startIp;

    /**
     * 网段终止IP
     */
    @Excel(name = "网段终止IP")
    private Long endIp;

    /**
     * 子网长度
     */
    @Excel(name = "子网长度")
    private Integer ipMask;

    /**
     * 业务ID
     */
    @Excel(name = "业务ID")
    private Long usageBizId;

    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private Long usageDeptId;

    /**
     * 可分配数量
     */
    @Excel(name = "可分配数量")
    private Integer asgCount;

    /**
     * 网段标识
     */
    @Excel(name = "网段标识")
    private String networkIdentifier;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private BaseStatusEnum status;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 部门ID
     */
    private Long deptId;

}
